Intersoft WebTextEditor Documentation
How-to: Implement spell checker with red wave highlight
See Also Send Feedback
Intersoft WebTextEditor > WebSpellChecker > User Interface > How-to: Implement spell checker with red wave highlight

Glossary Item Box

WebSpellChecker provides a method to implement spell checker with red wave highlight.

In this topic, you will learn how to implement spell checker.

To implement spell checker with red wave highlight

  1. Create an editable IFRAME.
  2. Drag HTML button and WebSpellChecker controls to the WebForm.
  3. Set WebSpellChecker's TargetControlId property to IFRAME's id and TargetControlIdValue to innerHTML.
  4. Create a function called AddSpellChecker() and use CheckSpell() method to implement spell checker.
    JavaScript Copy Code
    function AddSpellChecker()
    {    
       var sp = ISGetObject("WebSpellChecker1");    
       var text = sp.CheckSpell();
    }
    

  5. Invoke AddSpellChecker() function from HTML button.

See Also

©2013. All Rights Reserved.